package visitor.example;

/**
 * @author cheng:
 * @date 2019/4/27 14:00
 */
public class Amativeness extends Action{
    @Override
    public void getManConclusion(Man manElement) {
        System.out.println(manElement.getClass().getSimpleName() + " " + this.getClass().getSimpleName() + "时，凡事不懂也要装懂。");
    }

    @Override
    public void getWoManConclusion(WoMan manElement) {
        System.out.println(manElement.getClass().getSimpleName() + " " + this.getClass().getSimpleName() + "时，遇事懂也装作不懂。");
    }
}
